package com.dinian.zeus.service;

import com.dinian.zeus.domain.Periodical;
import com.dinian.zeus.domain.ResponseVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author dinian
 * @Date 2018-12-20
 */
public interface PeriodicalService {

    List<Periodical> findAllPeriodical();

    List<ResponseVO> searchPeriodical(Periodical periodical);

    Integer importPeriodical(MultipartFile file) throws Exception;

    int addPeriodical(Periodical periodical);

    Periodical queryPeriodicalById(String id);

    void modifyPeriodical(Periodical periodical);

    void removePeriodicals(Integer[] ids);
}
